package com.ev.hr.enums;

import java.util.ArrayList;
import java.util.List;

/**
 * 文件名称： com.ev.hr.enums.AttendanceProjectDict.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-05-18 16:01:33</br>
 * 功能说明： 考勤项目字典 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
public enum AttendanceProjectDict {
	  ATTENDANCE_TIME(470L, "出勤","attendance_time")
	, DAY_SHIFT_TIME(471L, "日班","day_shift_time")
	, NIGHT_SHIFT_TIME(472L, "夜班","night_shift_time")
	, SICK_LEAVE_TIME(473L, "病假","sick_leave_time")
	, COM_LEAVE_TIME(474L, "事假","com_leave_time")
	, ABSENTEEISM_TIME(475L, "旷工","absenteeism_time")
	, OVER_TIME(476L, "加班","over_time")
	, COMPENSATORY_TIME(477L, "调休","compensatory_time")
	, LEGAL_OVER_TIME(478L, "法定加班","legal_over_time")
	, MARRIAGE_FUNERAL_TIME(479L, "婚丧","marriage_funeral_time")
	, MATERNITY_LEAVE_TIME(480L, "产假","maternity_leave_time")
	, NURSING_LEAVE_TIME(481L, "护理假","nursing_leave_time")
	, LACTATION_LEAVE_TIME(482L, "哺乳假","lactation_leave_time")
	, REST_TIME(483L, "休息","rest_time")
	, ANNUAL_LEAVE_TIME(484L, "年假","annual_leave_time")
	, DUTY_TIME(485L, "值班","duty_time")
	;

	private final Long id;
	private final String name;
	private final String value;
	private static final List<String> listValue = new ArrayList<>();


	AttendanceProjectDict(Long id, String name,String value) {
		this.name = name;
		this.id = id;
		this.value = value;
	}
	static {
		for (com.ev.hr.enums.AttendanceProjectDict type : com.ev.hr.enums.AttendanceProjectDict.class.getEnumConstants()) {
			listValue.add(type.value);
		}
	}
	public static List<String> getListValue(){
		return  listValue;
	}

	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getValue() {
		return value;
	}


}
